package com.jye.rseven.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Payment implements Serializable{
    private int id;
    //private String orderNumber;
    //private int type;
    private int orderId;
    private String payTrade;
    private BigDecimal totalPrice; //BigDecimal=>decimal
    private String subject; //物品
    private String type;
    private String status;
    private Date createTime;
    private Date confirmTime;
    private Date payTime;
    private int uId;
    private String pId;

}
